{% extends "common.html" %}
{% block css %}
<style type="text/css">
  .blue{
    background:#31d2e7;
    color: white;
    padding: 15px 30px
  }
  .content-resume_submission{
    height: auto;
  }
</style>
{% endblock %}
{% load i18n %}
  {% load todo %}
{% block content %}
  <div class="content-top ">
        <div class="content-top1 ">
        
        <dl>
            <dd>
            <a href="{{company.url}}" target="_brank">
            <img src="/static/upload/{{company.logo}}">
            </a>
            </dd>        
            <dt>
            <h1>{{company.name}}</h1>
            <p>{{company.recommend}}</p>
            <!-- <h2><b>200</b>人已关注<span>100 </span>   个在招职位</h2> -->
            
            </dt>    
        </dl>
        </div>
        <!-- <div class="content-top2 ">
        <p><img src="/static/images/DY-8cm.jpg">KKoffer已认证</p>
        
        </div> -->
        </div>
        

        <div class="content-details ">
        <div class="content-position_details-left">
                 <div class="tat">
        <h1><span><b>{{page.jpPayment}}</b>（{% trans "ten thousand yen" %}）/ <b>{{page.jpPayment|getPay}}</b>({% trans "RMB" %})</span>{{page.jpName}}</h1>
        <p>{% trans page.get_education_display %}/{{page.year}}年/{% trans page.get_type_display %}</p>
                 <p>{{page.addTime|date:'Y-m-d'}}</p>
                 </div>
              
                 <div class="tata">
                 {% if page.jpBackground  %}
                      <ul>
                <li><span></span><b>{% trans "work" %}{% trans "background" %}</b></li>
                <p>
                  {{page.jpBackground|safe}}
                </p>
                </ul>
                 {% endif %}



                 <ul>
                <li><span></span><b>{% trans "work" %}{% trans "responsible" %}</b></li>
                <p>
                  {{page.jpResponsible|safe}}
                </p>
                </ul>
                    </div>
                 <div class="tata">
                 <ul>
                <li><span></span><b>{% trans "job" %}{% trans "demand" %}</b></li>
                <p>
                    {{page.jpDemand|safe}}

                </p>
                </ul>

                
                </div>
          {% include "tag.html" %}
               {% if text %}
                <div class="content-resume_submission">        
   <span style=" font-size:16px;text-decoration:none" class="blue"> {{text}}</span>
         </div>  
              

        {% elif request.session.type == 1 %}
            
        
         <div class="content-resume_submission">        
   <a style=" font-size:16px;text-decoration:none" class="blue" href="{% url "send" page.pk %}">{% trans "sendResume" %}</a>
         </div>  

         {% endif %}
               </div>        
        <div class="content-details-right">
        <h1><span></span>{% trans "basicMessage" %}</h1>
        <ul>
        <li><img src="/static/images/icon85689_03.png">&nbsp;&nbsp;{% trans company.get_industryType_display %}</li>
       
        <li><img src="/static/images/icon85689_05.jpg">&nbsp;&nbsp;{% trans company.get_location_display %}</li>
    <li><img src="/static/images/ren.png">&nbsp;&nbsp;{{company.get_peopleRange_display}}</li>
        </ul>
        <!-- <h1><span></span>公司资质</h1> -->
       
        <!-- <ul>
        <li><b>法人：</b>{{company.corporate}}</li>
        <li><b>设立：</b>{{company.establishTime|date:'Y-m-d'}}</li>
        <li><b>本金：</b>{{company.capital}}</li>
        <li><b>规模：</b>{{company.get_peopleRange_display}}</li>
        </ul> -->
  <h1><span></span>{% trans "detail" %}{% trans "address" %}</h1>  
    <p>
    {% if  get_location_display %}
    {% trans get_location_display %}
      {% else %}
        {% trans company.get_location_display %}
    {% endif %}
    </p> 
          
           <p>{{address|default:company.address}}</p> 
             </div> 
            </div>
<!--------内容-------------->
              
<script src="/static/js/jquery.form.min.js"></script>
<script type="text/javascript">
  $('#address').on("change",function(){

    if (this.value == 'china'){
      $('#china').removeClass('hidden')
      $('#china select').attr('disabled',false)
      $('#jp').addClass('hidden')
      $('#jp select').attr('disabled','disabled')
      return
    }
    else if (this.value == 'Japanese'){
      $('#china').addClass('hidden')
      $('#china select').attr('disabled','disabled')
      $('#jp').removeClass('hidden')
      $('#jp select').attr('disabled',false)
      return
    }

  })
 
   {% if tag %}
{% for x in tag %}
   $('[name="tag[]"][value="{{x}}"]').attr('checked',true)
{% endfor %}
  {% endif %}


  
</script>



{% endblock %}  


